﻿@if (Session["LoginUser"] != null) {
    <p>
        Hello, @((Session["LoginUser"] as smartcrm.User).UserName)
        @Html.ActionLink("退出", "Logout", "Account")
        @Html.ActionLink("任务中心", "Index", "MySpace", routeValues: null, htmlAttributes: new { @style = "color:yellow" }) 
        @if (smartcrm.Controllers.BaseController.IS_DEMO)
        {
            <a href="/Content/UserManual.pdf" target="_blank" style="color:Yellow">用户手册</a>
        }
    </p>     
    
} else {
    <ul>        
        <li>@Html.ActionLink("登录", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
    </ul>
}
